home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 96
/
PC Zone #096.7z
/
Dppcz1200.mdf
/
Demos
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
level04.gls
< prev
next >
Wrap
Text File
|
2000-09-09
|
15KB
|
757 lines
/************/
/* INCLUDES */
/************/
// n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
// default things to inherit our objects from
#include "defaults.gsh"
// good guys
#include "gunlok.gsh"
#include "hark.gsh"
#include "maskelyn.gsh"
#include "elint.gsh"
// n.b. Frend is a neutral on this level
// bad guys
#include "scythor.gsh"
#include "drone.gsh"
#include "scarflash.gsh"
#include "walking_mine.gsh"
#include "bombhead.gsh"
// neutral things
#include "frend.gsh"
#include "technocrate.gsh"
// particle effects
#include "carfire.gsh"
#include "oilfire.gsh"
#include "pipe_steam.gsh"
#include "purplelight.gsh"
/**********/
/* SHAPES */
/**********/
//world objects
shape Shp_jba
{
file "levels\level04.rif"
name "jba"
}
shape Shp_jbb
{
file "levels\level04.rif"
name "jbb"
}
shape Shp_jbf
{
file "levels\level04.rif"
name "jbf"
}
shape Shp_jbc
{
file "levels\level04.rif"
name "jbc"
}
shape Shp_jbd
{
file "levels\level04.rif"
name "jbd"
}
shape Shp_jbe
{
file "levels\level04.rif"
name "jbe"
}
shape Shp_hub
{
file "levels\level04.rif"
name "hub"
}
/*
shape Shp_endwall
{
file "levels\level04.rif"
name "endwall"
}
*/
shape Shp_GARBAGE_A
{
file "objects\GARBAGE A.RIF"
name "GARBAGE A"
}
shape Shp_GARBAGE_B
{
file "objects\GARBAGE B.RIF"
name "GARBAGE B"
}
shape Shp_JUNKPILE_C
{
file "objects\JUNKPILE C.RIF"
name "JUNKPILE C"
}
shape Shp_JUNKPILE_D
{
file "objects\JUNKPILE D.RIF"
name "JUNKPILE D"
}
shape Shp_JUNKPILE_E
{
file "objects\JUNKPILE E.RIF"
name "JUNKPILE E"
}
shape Shp_lifta
{
file "levels\level04.rif"
name "lifta"
}
shape Shp_liftswitcha
{
file "objects\LIFTSWITCH F.rif"
name "LIFTSWITCH F"
}
shape Shp_liftswitchaa
{
file "objects\LIFTSWITCH E.rif"
name "LIFTSWITCH E"
}
shape Shp_liftb
{
file "levels\level04.rif"
name "liftb"
}
shape Shp_liftswitchb
{
file "objects\LIFTSWITCH F.rif"
name "LIFTSWITCH F"
}
shape Shp_liftswitchbb
{
file "objects\LIFTSWITCH E.rif"
name "LIFTSWITCH E"
}
shape Shp_liftc
{
file "levels\level04.rif"
name "liftc"
}
shape Shp_liftswitchc
{
file "objects\LIFTSWITCH F.rif"
name "LIFTSWITCH F"
}
shape Shp_liftswitchcc
{
file "objects\LIFTSWITCH E.rif"
name "LIFTSWITCH E"
}
shape Shp_center_bars_a
{
file "levels\level04.rif"
name "center bars a"
}
shape Shp_center_bars_b
{
file "levels\level04.rif"
name "center bars b"
}
shape Shp_hub_fence_posts
{
file "levels\level04.rif"
name "hub fence posts"
}
shape Shp_end_fence_posts
{
file "levels\level04.rif"
name "end fence posts"
}
shape Shp_end_laserbars_a
{
file "levels\level04.rif"
name "end laserbars a"
}
shape Shp_end_laserbars_b
{
file "levels\level04.rif"
name "end laserbars b"
}
shape Shp_start_fence_posts
{
file "levels\level04.rif"
name "start fence posts"
}
shape Shp_start_laserbars_a
{
file "levels\level04.rif"
name "start laserbars a"
}
shape Shp_start_laserbars_b
{
file "levels\level04.rif"
name "start laserbars b"
}
shape Shp_start_pipes
{
file "levels\level04.rif"
name "start pipes"
}
shape Shp_start_jb
{
file "levels\level04.rif"
name "start jb"
}
shape Shp_generatora
{
file "levels\level04.rif"
name "generatora"
}
shape Shp_generatorb
{
file "levels\level04.rif"
name "generatorb"
}
/*************/
/* FRAG DATA */
/*************/
hierarchy Hcy_endwallfrag
{
file "objects\endwallfrag.rif"
name "endwallfrag"
hotspot none
}
role Rol_endwallfrag : Rol_PlacedObject
{
shape Hcy_endwallfrag
identifier "endwallfrag"
}
frag data Frg_Wall
{
role Rol_endwallfrag
scale 3
replace yes
symmetric yes
}
/*********/
/* ROLES */
/*********/
// world objects
/*
role Rol_endwall : Rol_PlacedObject
{
shape Shp_endwall
identifier "endwall"
destructibility Frg_Wall
armour 100
}
*/
role Rol_jba : Rol_PlacedObject
{
shape Shp_jba
identifier "jba"
destructibility Des_Explode
}
role Rol_jbb : Rol_PlacedObject
{
shape Shp_jbb
identifier "jbb"
destructibility Des_Explode
}
role Rol_jbc : Rol_PlacedObject
{
shape Shp_jbc
identifier "jbc"
destructibility Des_Explode
}
role Rol_jbd : Rol_PlacedObject
{
shape Shp_jbd
identifier "jbd"
destructibility Des_Explode
}
role Rol_jbe : Rol_PlacedObject
{
shape Shp_jbe
identifier "jbe"
destructibility Des_Explode
}
role Rol_jbf : Rol_PlacedObject
{
shape Shp_jbf
identifier "jbf"
destructibility Des_Explode
}
role Rol_hub : Rol_PlacedObject
{
shape Shp_hub
hit test ignore yes
}
role Rol_GARBAGE_A : Rol_DefaultGarbage
{
shape Shp_GARBAGE_A
}
role Rol_GARBAGE_B : Rol_DefaultGarbage
{
shape Shp_GARBAGE_B
}
role Rol_JUNKPILE_C : Rol_DefaultGarbage
{
shape Shp_JUNKPILE_C
}
role Rol_JUNKPILE_D : Rol_DefaultGarbage
{
shape Shp_JUNKPILE_D
}
role Rol_JUNKPILE_E : Rol_DefaultGarbage
{
shape Shp_JUNKPILE_E
}
role Rol_lifta : Rol_PlacedObject
{
shape Shp_lifta
ai track object
destination selectable yes
}
role Rol_liftswitcha : Rol_PlacedObject
{
shape Shp_liftswitcha
ai pickup
destination selectable yes
}
role Rol_liftswitchaa : Rol_PlacedObject
{
shape Shp_liftswitchaa
ai pickup
destination selectable yes
}
role Rol_liftb : Rol_PlacedObject
{
shape Shp_liftb
ai track object
destination selectable yes
}
role Rol_liftswitchb : Rol_PlacedObject
{
shape Shp_liftswitchb
ai pickup
destination selectable yes
}
role Rol_liftswitchbb : Rol_PlacedObject
{
shape Shp_liftswitchbb
ai pickup
destination selectable yes
}
role Rol_liftc : Rol_PlacedObject
{
shape Shp_liftc
ai track object
destination selectable yes
}
role Rol_liftswitchc : Rol_PlacedObject
{
shape Shp_liftswitchc
ai pickup
destination selectable yes
}
role Rol_liftswitchcc : Rol_PlacedObject
{
shape Shp_liftswitchcc
ai pickup
destination selectable yes
}
role Rol_center_bars_a : Rol_PlacedObject
{
shape Shp_center_bars_a
hit test ignore yes
}
role Rol_center_bars_b : Rol_PlacedObject
{
shape Shp_center_bars_b
hit test ignore yes
}
role Rol_hub_fence_posts : Rol_PlacedObject
{
shape Shp_hub_fence_posts
hit test ignore yes
}
role Rol_end_fence_posts : Rol_PlacedObject
{
shape Shp_end_fence_posts
hit test ignore yes
}
role Rol_end_laserbars_a : Rol_PlacedObject
{
shape Shp_end_laserbars_a
hit test ignore yes
}
role Rol_end_laserbars_b : Rol_PlacedObject
{
shape Shp_end_laserbars_b
hit test ignore yes
}
role Rol_start_fence_posts : Rol_PlacedObject
{
shape Shp_start_fence_posts
hit test ignore yes
}
role Rol_start_laserbars_a : Rol_PlacedObject
{
shape Shp_start_laserbars_a
hit test ignore yes
}
role Rol_start_laserbars_b : Rol_PlacedObject
{
shape Shp_start_laserbars_b
hit test ignore yes
}
role Rol_start_pipes : Rol_PlacedObject
{
shape Shp_start_pipes
hit test ignore yes
}
role Rol_start_jb : Rol_PlacedObject
{
shape Shp_start_jb
identifier "start jb"
destructibility Des_Explode
}
role Rol_generatora : Rol_PlacedObject
{
shape Shp_generatora
identifier "generatora"
destructibility Des_Explode
}
role Rol_generatorb : Rol_PlacedObject
{
shape Shp_generatorb
identifier "generatorb"
destructibility Des_Explode
}
/***********/
/* THE MAP */
/***********/
map /* _THE_ map - doesnt need a label */
{
file "levels\level04.rif"
name "Land"
bitmap "bitmaps\\LEVEL04.rim"
camera plane "camhund"
max camera distance 100 // TBD exactly
max camera focus height "max focus height"
min camera focus height "min focus height"
shadow object rif "levels\level04_shadow.rif"
shadow object name "Land"
max vertices per section 2048
// PLAYER'S TROOPS
use Rol_GunLok in team 1 for
"goodiea" as "gunlok"
use Rol_Hark in team 1 for
"goodieb" as "hark"
use Rol_Elint in team 1 for
"goodiec" as "elint"
use Rol_Frend in team 0 for
"frend" as "frend"
// AI'S TROOPS
use Rol_bombhead in team 2 for
"sentrya" as "sentrya"
use Rol_bombhead in team 2 for
"sentryb" as "sentryb"
use Rol_bombhead in team 2 for
"sentryc" as "sentryc"
//NEUTRAL OBJECTS
use Rol_jba in team 2 for
"jba" as "jba"
use Rol_jbb in team 2 for
"jbb" as "jbb"
use Rol_jbc in team 2 for
"jbc" as "jbc"
use Rol_jbd in team 2 for
"jbd" as "jbd"
use Rol_jbe in team 2 for
"jbe" as "jbe"
use Rol_jbf in team 2 for
"jbf" as "jbf"
use Rol_hub in team 0 for
"hub"
use Rol_PipeSteam_Up in team 0 for
// "dum pipe a" and
"dum pipe j" and
"dum pipe l" and
"dum pipe o" and
"dum pipe q" and
"dum pipe r" and
"dum pipe s" and
"dum pipe t"
use Rol_PipeSteam_Down in team 0 for
"dum pipe b" and
"dum pipe c" and
"dum pipe d" and
"dum pipe f" and
"dum pipe h" and
"dum pipe i" and
"dum pipe k" and
"dum pipe n" and
"dum pipe u"
use Rol_PipeSteam_DownSW in team 0 for
"dum pipe g" and
"dum pipe m" and
"dum pipe p"
use Rol_PipeSteam_NE in team 0 for
"dum pipe e"
/*
use Rol_endwall in team 0 for
"endwall" as "endwall"
*/
use Rol_GARBAGE_A in team 0 for
"GARBAGE A" as "garbage_a"
use Rol_GARBAGE_A in team 0 for
"GARBAGE AB" as "garbage_ab"
use Rol_GARBAGE_A in team 0 for
"GARBAGE AC" as "garbage_ac"
use Rol_GARBAGE_A in team 0 for
"GARBAGE AD" as "garbage_ad"
use Rol_GARBAGE_A in team 0 for
"GARBAGE AE" as "garbage_ae"
use Rol_GARBAGE_A in team 0 for
"GARBAGE AF" as "garbage_af"
use Rol_GARBAGE_B in team 0 for
"GARBAGE B" as "garbage_b"
use Rol_GARBAGE_B in team 0 for
"GARBAGE BB" as "garbage_bb"
use Rol_GARBAGE_B in team 0 for
"GARBAGE BC" as "garbage_bc"
use Rol_GARBAGE_B in team 0 for
"GARBAGE BD" as "garbage_bd"
use Rol_GARBAGE_B in team 0 for
"GARBAGE BE" as "garbage_be"
use Rol_GARBAGE_B in team 0 for
"GARBAGE BF" as "garbage_bf"
use Rol_GARBAGE_B in team 0 for
"GARBAGE BG" as "garbage_bg"
use Rol_GARBAGE_B in team 0 for
"JUNKPILE CD" as "garbage_bh"
use Rol_JUNKPILE_C in team 0 for
"JUNKPILE C" as "junkpile_c"
use Rol_JUNKPILE_C in team 0 for
"JUNKPILE CB" as "junkpile_cb"
use Rol_JUNKPILE_C in team 0 for
"JUNKPILE CC" as "junkpile_cc"
use Rol_JUNKPILE_D in team 0 for
"JUNKPILE D" as "junkpile_d"
use Rol_JUNKPILE_D in team 0 for
"JUNKPILE DB" as "junkpile_db"
use Rol_JUNKPILE_D in team 0 for
"JUNKPILE DC" as "junkpile_dc"
use Rol_JUNKPILE_E in team 0 for
"JUNKPILE E" as "junkpile_e"
use Rol_JUNKPILE_E in team 0 for
"JUNKPILE EB" as "junkpile_eb"
use Rol_lifta in team 0 for
"lifta" as "lift_a"
use Rol_liftswitcha in team 0 for
"liftswitcha" as "liftswitcha"
use Rol_liftswitchaa in team 0 for
"liftswitchaa" as "liftswitchaa"
use Rol_liftb in team 0 for
"liftb" as "lift_b"
use Rol_liftswitchb in team 0 for
"liftswitchb" as "liftswitchb"
use Rol_liftswitchbb in team 0 for
"liftswitchbb" as "liftswitchbb"
use Rol_liftc in team 0 for
"liftc" as "lift_c"
use Rol_liftswitchc in team 0 for
"liftswitchc" as "liftswitchc"
use Rol_liftswitchcc in team 0 for
"liftswitchcc" as "liftswitchcc"
/*
use Rol_center_bars_a in team 0 for
"center bars a" as "center_bars_a"
use Rol_center_bars_b in team 0 for
"center bars b" as "center_bars_b"
*/
use Rol_hub_fence_posts in team 0 for
"hub fence posts"
use Rol_end_fence_posts in team 0 for
"end fence posts"
/*
use Rol_end_laserbars_a in team 0 for
"end laserbars a" as "end_laserbars_a"
use Rol_end_laserbars_b in team 0 for
"end laserbars b" as "end_laserbars_b"
*/
use Rol_start_fence_posts in team 0 for
"start fence posts"
/*
use Rol_start_laserbars_a in team 0 for
"start laserbars a" as "start_laserbars_a"
use Rol_start_laserbars_b in team 0 for
"start laserbars b" as "start_laserbars_b"
*/
use Rol_start_pipes in team 0 for
"start pipes"
use Rol_start_jb in team 2 for
"start jb" as "start jb"
use Rol_generatora in team 2 for
"generatora" as "generatora"
use Rol_generatorb in team 2 for
"generatorb" as "generatorb"
use Rol_Purplelight in team 0 for
"purplelightA" as "purplelightA"
//use Rol_Purplelight in team 0 for
// "purplelightB" as "purplelightB"
use Rol_Purplelight in team 0 for
"purplelightC" as "purplelightC"
//use Rol_Purplelight in team 0 for
// "purplelightD" as "purplelightD"
use Rol_Purplelight in team 0 for
"purplelightE" as "purplelightE"
//use Rol_Purplelight in team 0 for
// "purplelightF" as "purplelightF"
use Rol_Purplelight in team 0 for
"purplelightG" as "purplelightG"
//use Rol_Purplelight in team 0 for
// "purplelightH" as "purplelightH"
use Rol_Purplelight in team 0 for
"purplelightI" as "purplelightI"
//use Rol_Purplelight in team 0 for
// "purplelightJ" as "purplelightJ"
use Rol_Purplelight in team 0 for
"purplelightK" as "purplelightK"
//use Rol_Purplelight in team 0 for
// "purplelightL" as "purplelightL"
use Rol_Purplelight in team 0 for
"purplelightM" as "purplelightM"
//use Rol_Purplelight in team 0 for
// "purplelightN" as "purplelightN"
use Rol_Purplelight in team 0 for
"purplelightO" as "purplelightO"
//use Rol_Purplelight in team 0 for
// "purplelightP" as "purplelightP"
use Rol_Purplelight in team 0 for
"purplelightQ" as "purplelightQ"
//use Rol_Purplelight in team 0 for
// "purplelightR" as "purplelightR"
use Rol_Purplelight in team 0 for
"purplelightS" as "purplelightS"
use Rol_Purplelight in team 0 for
"JBlighta" as "jblighta"
use Rol_Purplelight in team 0 for
"JBlightb" as "jblightb"
use Rol_Purplelight in team 0 for
"JBlightc" as "jblightc"
use Rol_Purplelight in team 0 for
"JBlightd" as "jblightd"
use Rol_Purplelight in team 0 for
"JBlighte" as "jblighte"
use Rol_Purplelight in team 0 for
"JBlightf" as "jblightf"
use Rol_Purplelight in team 0 for
"JBlightg" as "jblightg"
use Rol_technocrate in team 0 for
"technocratea" as "technocratea"
use Rol_technocrate in team 0 for
"technocrateb" as "technocrateb"
use Rol_technocrate in team 0 for
"technocratec" as "technocratec"
}
camera track
{
file "levels\level04.rif"
name "frend lives"
}